package com.zh.device.domain;

import java.io.Serializable;
import java.util.Date;



/**
 * 
 * 
 * @author madara
 * @email 54925881@qq.com
 * @date 2019-07-24 12:35:13
 */
public class DeviceBindingDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Integer id;
	//网关id
	private String gatewayId;
	//老人id
	private String familyUserId;
	//家庭id
	private String familyNumber;
	//设备id
	private String deviceSn;
	//0网关,1gps,2床垫
	private Integer deviceType;
	//设备名称
	private String deviceName;
	//设备状态 0正常 1维修 2报损
	private Integer deviceState;
	//网关设备类型 门磁水浸
	private Integer gatewayType;
	//场景id 外键
	private Integer sceneId;
	//位置id 外键
	private Integer locationId;
	//备注信息
	private String remarks;
	//创建人
	private String createBy;
	//创建时间
	private Date createTime;
	//修改人
	private String updateBy;
	//修改时间
	private Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGatewayId() {
		return gatewayId;
	}

	public void setGatewayId(String gatewayId) {
		this.gatewayId = gatewayId;
	}

	public String getFamilyUserId() {
		return familyUserId;
	}

	public void setFamilyUserId(String familyUserId) {
		this.familyUserId = familyUserId;
	}

	public String getFamilyNumber() {
		return familyNumber;
	}

	public void setFamilyNumber(String familyNumber) {
		this.familyNumber = familyNumber;
	}

	public String getDeviceSn() {
		return deviceSn;
	}

	public void setDeviceSn(String deviceSn) {
		this.deviceSn = deviceSn;
	}

	public Integer getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(Integer deviceType) {
		this.deviceType = deviceType;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public Integer getDeviceState() {
		return deviceState;
	}

	public void setDeviceState(Integer deviceState) {
		this.deviceState = deviceState;
	}

	public Integer getGatewayType() {
		return gatewayType;
	}

	public void setGatewayType(Integer gatewayType) {
		this.gatewayType = gatewayType;
	}

	public Integer getSceneId() {
		return sceneId;
	}

	public void setSceneId(Integer sceneId) {
		this.sceneId = sceneId;
	}

	public Integer getLocationId() {
		return locationId;
	}

	public void setLocationId(Integer locationId) {
		this.locationId = locationId;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
